import Vue from 'vue'
import Router from 'vue-router'
// import user from '@/components/user'
// import welcome from '@/components/welcome'
// import amendUser from '@/components/amendUser'
// import addUser from '@/components/addUser'
// import role from '@/components/role'
// import addRole from '@/components/addRole'
// import amendRole from '@/components/amendRole'
// import duty from '@/components/duty'
// import addDuty from '@/components/addDuty'
// import amendDuty from '@/components/amendDuty'
// import organization from '@/components/organization'
// import legalList from '@/components/legalList'
// import admin from '@/components/admin'
// import log from '@/components/log'
// import allotRoles from '@/components/allotRoles'
// import allotPower from '@/components/allotPower'
// import redactOrganization from '@/components/redactOrganization'
// import addOrganization from '@/components/addOrganization'
// import allotPosition from '@/components/allotPosition'















Vue.use(Router)

export default new Router({
  routes: [
    // 用户查看列表
    // {path: '/', name: 'welcome',component: welcome},
    // {path: '/user', name: 'user',component: user},
    //  // 个人资料
    // {path:'/welcome',name:'welcome',component:welcome},
    // // 修改用户
    // {path:'/amendUser',name:'amendUser',component:amendUser},
    // // 添加用户
    // {path:'/addUser',name:'addUser',component:addUser},
    // // 角色查看
    // {path:'/role',name:'role',component:role},
    // //  角色添加
    // {path:'/addRole',name:'addRole',component:addRole},
    // //  角色修改
    // {path:'/amendRole',name:'amendRole',component:amendRole},
    // //  给分配权限
    // {path:'/allotPower',name:'allotPower',component:allotPower},
    // // 职位管理
    // {path:'/duty',name:'duty',component:duty},
    // // 添加职位
    // {path:'/addDuty',name:'addDuty',component:addDuty},
    // // 修改职位
    // {path:'/amendDuty',name:'amendDuty',component:amendDuty},
    // // 职位分配角色
    // {path:'/allotRoles',name:'allotRoles',component:allotRoles},
    // // 机构管理
    //  {path:'/organization',name:'organization',component:organization},
    // //  权限列表
    // {path:'/legalList',name:'legalList',component:legalList},
    // // 管理员管理
    // {path:'/admin',name:'admin',component:admin},
    // // 查看日志
    // {path:'/log',name:'log',component:log},
    // // 编辑组织
    // {path:'/redactOrganization',name:'redactOrganization',component:redactOrganization},
    // // 添加组织机构
    // {path:'/addOrganization',name:'addOrganization',component:addOrganization},
    // // 分配职位
    // {path:'/allotPosition',name:'allotPosition',component:allotPosition}
    
    
  ]
})
